package nc.bs.budget.forecast;

import java.sql.SQLException;

import javax.naming.NamingException;


import nc.bs.budget.forecast.forecastDMO;;

public class forecastBO {
	public int forecast(String version,String year) throws NamingException, SQLException{
		int v_temp=0;
		forecastDMO dmo=new forecastDMO();
		v_temp=dmo.forecast(version,year);
		return v_temp;
	}
	public void imp(String year) throws NamingException, SQLException{
		forecastDMO dmo=new forecastDMO();
		dmo.imp(year);
	}
	public void save(String year,String version,String corp) throws NamingException {
		forecastDMO dmo=new forecastDMO();
		dmo.save(year, version, corp);
	}
}
